html {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -o-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  color: #333;
  font: 300 16px/1.8 -apple-system, PingFang SC, Verdana, Helvetica Neue, Microsoft Yahei, Hiragino Sans GB, Microsoft Sans Serif, WenQuanYi Micro Hei, sans-serif;
  font-size: 62.5%;
}
body {
  padding: 0;
  margin: 0;
  background: #fff;
}
header {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: flex-start;
  -moz-justify-content: flex-start;
  -o-justify-content: flex-start;
  -ms-justify-content: flex-start;
  justify-content: flex-start;
  -webkit-align-items: center;
  -moz-align-items: center;
  -o-align-items: center;
  -ms-align-items: center;
  align-items: center;
  padding: 76px 20px 20px 20px;
}
header h1 {
  margin: 20px 0;
  font-size: 3rem;
  font-size: 30px;
}
header div {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row nowrap;
  -moz-flex-flow: row nowrap;
  -o-flex-flow: row nowrap;
  -ms-flex-flow: row nowrap;
  flex-flow: row nowrap;
  -webkit-align-items: flex-end;
  -moz-align-items: flex-end;
  -o-align-items: flex-end;
  -ms-align-items: flex-end;
  align-items: flex-end;
  width: 100%;
  max-width: 1116px;
  border-bottom: solid 1px #f1f1f1;
}
header div nav {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row nowrap;
  -moz-flex-flow: row nowrap;
  -o-flex-flow: row nowrap;
  -ms-flex-flow: row nowrap;
  flex-flow: row nowrap;
  margin: 15px 0 18px 10px;
}
header div nav a {
  margin: 5px 5px;
  opacity: 0.3;
}
header div nav a:hover {
  opacity: 1;
  -webkit-transition: opacity 1s ease;
  -moz-transition: opacity 1s ease;
  -o-transition: opacity 1s ease;
  -ms-transition: opacity 1s ease;
  transition: opacity 1s ease;
}
header div nav a:nth-child(1) span {
  background: url("") no-repeat;
}
header div nav a:nth-child(2) span {
  background: url("") no-repeat;
}
header div nav a:nth-child(3) span {
  background: url("") no-repeat;
}
header div nav a:nth-child(4) span {
  background: url("") no-repeat;
}
header div nav a:nth-child(5) span {
  background: url("") no-repeat;
}
header div nav span {
  display: block;
  width: 24px;
  height: 24px;
}
.gallery {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row wrap;
  -moz-flex-flow: row wrap;
  -o-flex-flow: row wrap;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-justify-content: flex-start;
  -moz-justify-content: flex-start;
  -o-justify-content: flex-start;
  -ms-justify-content: flex-start;
  justify-content: flex-start;
  max-width: 1116px;
}
.gallery div {
  padding: 20px;
}
.gallery div div {
  padding: 0;
  font-size: 14px;
  font-size: 1.4rem;
  text-align: center;
}
.gallery div img {
  padding: 5px;
  max-width: 320px;
  background: #fff;
  border: solid 1px #bbb;
}
footer {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: flex-start;
  -moz-justify-content: flex-start;
  -o-justify-content: flex-start;
  -ms-justify-content: flex-start;
  justify-content: flex-start;
  -webkit-align-items: center;
  -moz-align-items: center;
  -o-align-items: center;
  -ms-align-items: center;
  align-items: center;
  padding: 76px 20px 20px 20px;
}
footer div {
  width: 100%;
  font-size: 15px;
}
footer div:first-child {
  border-top: solid 1px #f1f1f1;
}
footer div div {
  font-size: 11px;
  color: #999;
}
footer div div a {
  color: #999;
}
@media (max-width: 1115px) {
  .gallery div {
    zoom: 0.9;
  }
}
@media (max-width: 1004px) {
  .gallery div {
    zoom: 0.8;
  }
}
@media (max-width: 893px) {
  .gallery div {
    zoom: 0.7;
  }
}
@media (max-width: 782px) {
  .gallery div {
    zoom: 0.5;
  }
}
@media (max-width: 447px) {
  header {
    min-width: 266px;
  }
  header h1 {
    margin: 0;
  }
  header div {
    -webkit-align-items: flex-start;
    -moz-align-items: flex-start;
    -o-align-items: flex-start;
    -ms-align-items: flex-start;
    align-items: flex-start;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -o-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  header div nav {
    margin: 0;
  }
}
